package com.hfut.eeg.dao;

import com.hfut.eeg.dto.LoginParam;
import com.hfut.eeg.dto.LoginResult;
import com.hfut.eeg.dto.User;
import org.springframework.transaction.annotation.Transactional;

public interface LoginMapper {

    LoginResult getLogin(LoginParam param);


    User getUserByUserName(String userName);

    int registerUser(User user);

}
